<template>
  <a-config-provider :locale="locale">
    <XSpreadSheet />
  </a-config-provider>
</template>

<script>
import 'ant-design-vue/dist/antd.css'
import XSpreadSheet from './components/XSpreadSheet'
import zhCN from 'ant-design-vue/lib/locale-provider/zh_CN'
import moment from 'moment'
import 'moment/locale/zh-cn'

moment.locale('zh-cn')

export default {
  name: 'App',
  components: {
    XSpreadSheet
  },
  data () {
    return {
      locale: zhCN
    }
  }
}
</script>

<style>
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  margin-top: 60px;
}
</style>
